package guilib;

/***
 * @author Ragnvald Fuglestein
 */

import java.awt.GridLayout;
import java.awt.event.ActionListener;

import baseStructure.Base;
import baseStructure.Track;

public class TrackEditorDialog extends EditorDialog {
	private static final long serialVersionUID = 7440835076966210417L;
	
	public TrackEditorDialog(Track track, ActionListener action) {
		super((Base) track);
		setLayout(new GridLayout(2, 3));

		okbutton.addActionListener(action);
		add(okbutton);
		
		cancelbutton.addActionListener(action);
		add(cancelbutton);
		
	}

}
